ARC_Starter/Dockerfile

19 lines
387 B
Docker

# Use an official Python runtime as a parent image
FROM python:3.11-slim
# Set working directory inside container
WORKDIR /app
# Copy the Python script into the container
COPY tcp_sia_server.py /app/
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port your server listens on
EXPOSE 9000
# Run the script
CMD ["python", "tcp_sia_server.py"]