Files
propedal-planner/Dockerfile
2024-06-24 21:51:14 +02:00

16 lines
454 B
Docker

# Use an official Python runtime as a parent image
FROM python:3.10
# Set the working directory in the container to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY ./propedal-planner /app
# Install any needed packages specified in requirements.txt -use cache
RUN --mount=type=cache,target=/root/.cache \
pip install -r requirements.txt
# Make port available to the world outside this container
EXPOSE 8001