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