make image slightly smaller but fixing up the dockerignore syntaxing
also added in another ENV to the dockerfile
This commit is contained in:
parent
c9e564d48f
commit
b279578b51
@ -1,2 +1,5 @@
|
|||||||
/target
|
target
|
||||||
.vscode
|
.vscode
|
||||||
|
tests
|
||||||
|
.git
|
||||||
|
.gitignore
|
@ -4,7 +4,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV SQLX_OFFLINE true
|
ENV SQLX_OFFLINE true
|
||||||
RUN CARGO BUILD --release
|
RUN cargo build --release
|
||||||
|
|
||||||
ENV APP_ENVIRONMENT production
|
ENV APP_ENVIRONMENT production
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user