Preparing dockers for prod
This commit is contained in:
@@ -5,13 +5,10 @@ RUN apt update && apt install -y xfonts-base xfonts-75dpi python3-pip python3-cf
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
# copy both 'package.json' and 'package-lock.json' (if available)
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
# install project dependencies
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
# copy project files and folders to the current working directory (i.e. 'app' folder)
|
||||
COPY ./app /code/app
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user