forked from colin/resume
2
0
Fork 0

Update docker/resume/Dockerfile

This commit is contained in:
colin 2025-02-09 14:11:49 -05:00
parent 07ab5330b1
commit 84177800c5
1 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,9 @@
FROM nginx:alpine FROM python:3.9-slim
RUN rm /etc/nginx/conf.d/default.conf ENV PYTHONDONTWRITEBYTECODE=1
COPY nginx.conf /etc/nginx/conf.d/ ENV PYTHONUNBUFFERED=1
COPY resume.html /usr/share/nginx/html/ WORKDIR /app
EXPOSE 8080 COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python", "app.py"]