website-spotify-backend/Dockerfile
2024-09-01 18:05:11 +01:00

19 lines
317 B
Docker

# Set the base image
FROM python:alpine3.19
# Copy the files to the container
COPY src /app
COPY requirements.txt /app
#COPY .env /app
# Set the working directory
WORKDIR /app
# Install dependencies
RUN pip install -r requirements.txt
# Expose the port
EXPOSE 5000
# Run the application
CMD ["python", "main.py"]