BLOG-78 Backend image upload and download #84
@ -11,9 +11,11 @@ FROM alpine:latest AS runner
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/server .
|
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/server .
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
VOLUME ["/app/static"]
|
||||||
ENV RUST_LOG=info
|
ENV RUST_LOG=info
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
ENV PORT=8080
|
ENV PORT=8080
|
||||||
|
ENV STORAGE_PATH=/app/static
|
||||||
ENV DATABASE_HOST=127.0.0.1
|
ENV DATABASE_HOST=127.0.0.1
|
||||||
ENV DATABASE_PORT=5432
|
ENV DATABASE_PORT=5432
|
||||||
ENV DATABASE_USER=postgres
|
ENV DATABASE_USER=postgres
|
||||||
|
Loading…
x
Reference in New Issue
Block a user