Обновить Dockerfile

This commit is contained in:
2026-06-22 14:12:28 +03:00
parent 9193ce1d66
commit 37ba75ecc5
-10
View File
@@ -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"]