davinci/Dockerfile
Kevin Alberts 85ebe66d6d
Some checks failed
continuous-integration/drone Build is failing
Update dockerfile and requirements
2024-01-23 15:20:49 +01:00

26 lines
486 B
Docker

# Then build the actual amelie docker image
FROM python:latest
# Set /usr/src/app as startup working directory
WORKDIR /usr/src/app
# Install python requirements
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Make dirs
RUN mkdir -p /static /config
# Copy sources
COPY . .
# Expose volumes
VOLUME ["/static", "/config"]
# Expose the web port
EXPOSE 8000
# Start the website
CMD ["/usr/src/app/start.sh"]