core/Dockerfile

16 lines
235 B
Docker
Raw Normal View History

2022-07-21 16:06:30 +00:00
FROM python:3.8
EXPOSE 8080
RUN /usr/local/bin/python -m pip install --upgrade pip
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN set -ex && pip install -r requirements.txt
COPY . .
CMD ["python", "server.py"]