Add docker compose build file

This commit is contained in:
pstruebi
2024-06-23 21:20:03 +02:00
parent 41e8a75d5a
commit 2dfd6fbbc8
8 changed files with 74 additions and 7 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# 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 . /app
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Make port 80 available to the world outside this container
EXPOSE 8000