From 84177800c50840ba644d6f18d6322c52ffc97a61 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 9 Feb 2025 14:11:49 -0500 Subject: [PATCH] Update docker/resume/Dockerfile --- docker/resume/Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docker/resume/Dockerfile b/docker/resume/Dockerfile index 2858f2e..784883f 100644 --- a/docker/resume/Dockerfile +++ b/docker/resume/Dockerfile @@ -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 \ No newline at end of file +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"] \ No newline at end of file