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
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/
COPY resume.html /usr/share/nginx/html/
EXPOSE 8080
FROM python:3.9-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python", "app.py"]