sign-pdf-worker/pythonProject/Dockerfile
Julien Fastré 89cb05fce1
Add openssl to Dockerfile
This change adds the openssl CLI to the Dockerfile to ensure necessary cryptographic functionalities are available. It helps in maintaining secure communications and other operations that depend on openssl.
2024-10-11 16:19:32 +02:00

21 lines
427 B
Docker

# Set base Python image version
FROM python:3.10-alpine
# Set working directory
WORKDIR /app
# add required clis
RUN apk add --no-cache openssl
# Copy requirements.txt to the Docker container
COPY requirements.txt .
# Install required Python packages
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of your app's source code
COPY . .
# Command to run the worker.py script
CMD ["python", "./worker.py"]