minor enhancements
This commit is contained in:
parent
73e9904173
commit
bbdd9b9abd
2
.env
2
.env
@ -1,3 +1,3 @@
|
|||||||
DATABASE_URL=test.db
|
DATABASE_URL=app.db
|
||||||
BIND_ADDRESS=127.0.0.1:7800
|
BIND_ADDRESS=127.0.0.1:7800
|
||||||
HASH_COST=8
|
HASH_COST=8
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
/target
|
/target
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
/test.db
|
/app_db.db
|
@ -70,8 +70,3 @@ features = ['serde']
|
|||||||
# version = '0.9.0'
|
# version = '0.9.0'
|
||||||
# default-features = false
|
# default-features = false
|
||||||
# features = ['config']
|
# features = ['config']
|
||||||
|
|
||||||
[build.env]
|
|
||||||
passthrough = [
|
|
||||||
"RUST_BACKTRACE",
|
|
||||||
]
|
|
||||||
|
@ -35,7 +35,7 @@ RUN groupadd $APP_USER \
|
|||||||
COPY ./.env ${APP}/.env
|
COPY ./.env ${APP}/.env
|
||||||
COPY ./migrations ${APP}/migrations
|
COPY ./migrations ${APP}/migrations
|
||||||
COPY ./static ${APP}/static
|
COPY ./static ${APP}/static
|
||||||
COPY ./db/test.db ${APP}/test.db
|
COPY ./db/empty.db ${APP}/app.db
|
||||||
COPY --from=builder /actix-demo/target/release/actix-demo ${APP}/actix-demo
|
COPY --from=builder /actix-demo/target/release/actix-demo ${APP}/actix-demo
|
||||||
|
|
||||||
RUN chown -R $APP_USER:$APP_USER ${APP}
|
RUN chown -R $APP_USER:$APP_USER ${APP}
|
||||||
|
Loading…
Reference in New Issue
Block a user