forked from colin/resume
Update docker/resume/Dockerfile
This commit is contained in:
parent
07ab5330b1
commit
84177800c5
|
@ -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"]
|
Loading…
Reference in New Issue