Solved other port bugs

This commit is contained in:
2025-07-05 10:55:32 +02:00
parent 35bfeeb51e
commit 5fc19f6ccb
4 changed files with 9 additions and 13 deletions

View File

@@ -11,11 +11,5 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app/ .
# Set default port environment variable
ENV PORT=5000
# Expose port (optional for documentation)
EXPOSE ${PORT}
# Start command using shell to allow env substitution
CMD ["sh", "-c", "exec python app.py --port=${PORT}"]
CMD sh -c "exec python app.py --port=\${PORT}"