Обновить Dockerfile
This commit is contained in:
-10
@@ -29,16 +29,6 @@ COPY --from=builder /app/bin/server.exe ./bin/server.exe
|
|||||||
# Copy the built Flutter web app
|
# Copy the built Flutter web app
|
||||||
#COPY web/ ./web/
|
#COPY web/ ./web/
|
||||||
|
|
||||||
# Set environment variables
|
|
||||||
ENV PORT=9090
|
|
||||||
ENV POSTGRES_HOST=localhost
|
|
||||||
ENV POSTGRES_PORT=5432
|
|
||||||
ENV POSTGRES_DB=family_safety
|
|
||||||
ENV POSTGRES_USER=postgres
|
|
||||||
ENV POSTGRES_PASSWORD=postgres
|
|
||||||
ENV JWT_SECRET=your-super-secret-key-change-me
|
|
||||||
ENV TOKEN_LIFETIME=600
|
|
||||||
|
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
|
||||||
CMD ["./bin/server.exe"]
|
CMD ["./bin/server.exe"]
|
||||||
|
|||||||
Reference in New Issue
Block a user