Fix ci failure

This commit is contained in:
Rohan Sircar 2021-04-22 19:57:51 +05:30
parent f0e512ec25
commit 2bba42498c
3 changed files with 2 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
/target /target
.idea .idea
.vscode .vscode
test.db /test.db

View File

@ -35,12 +35,11 @@ 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 ./test.db ${APP}/test.db COPY ./db/test.db ${APP}/test.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}
USER $APP_USER USER $APP_USER
WORKDIR ${APP} WORKDIR ${APP}
CMD ["./actix-demo"] CMD ["./actix-demo"]

0
db/test.db Normal file
View File