feat: add env variable to Dockerfile
All checks were successful
Workflow / build (push) Successful in 55s
All checks were successful
Workflow / build (push) Successful in 55s
This commit is contained in:
@@ -26,5 +26,8 @@ COPY --from=builder /app/dist ./dist
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
# Set environment variable
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Start the server
|
||||
CMD ["python", "-m", "http.server", "3000", "--directory", "dist"]
|
||||
|
||||
Reference in New Issue
Block a user