Commit e14a9bae authored by Christophe Benz's avatar Christophe Benz
Browse files

Update Dockerfile

parent 16a5f223
Pipeline #291237 passed with stages
in 46 seconds
FROM python:3.8
FROM python:3.9
# Uncomment the following command to install a Debian package
# RUN apt-get update \
# && apt-get install -y xxx \
# && rm -rf /var/lib/apt/lists/*
# Env variables that configure Python to run in a container:
# do not keep dependencies downloaded by "pip install"
ENV PIP_NO_CACHE_DIR 1
# do not write "*.pyc" files
ENV PYTHONDONTWRITEBYTECODE 1
# do not buffer input/output operations, displaying prints and log messages immediately
ENV PYTHONUNBUFFERED 1
WORKDIR /app
COPY . .
COPY requirements.txt .
RUN pip install -r requirements.txt
CMD mkdir -p /source-data && mkdir -p /json-data && python download.py /source-data && python convert.py /source-data /json-data
COPY . .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment