mcrosettes/Dockerfile

18 lines
258 B
Docker

# Use official Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy files
COPY . /app
# Install dependencies
RUN pip install flask
# Expose Flask's default port
EXPOSE 2233
# Start the Flask application
CMD ["python", "app.py"]