diff --git a/server/Dockerfile b/server/Dockerfile new file mode 100644 index 0000000..83fd5a9 --- /dev/null +++ b/server/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.9.6-slim + +ENV PORT=8000 + +WORKDIR /app + +COPY requirements.txt . + +RUN pip install --no-cache-dir -r requirements.txt +COPY . . + +EXPOSE 8000 + +CMD ["sh", "-c", "gunicorn --bind 0.0.0.0:${PORT} server:app"] \ No newline at end of file