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