teofe/FraudScore
0
1 2 3 4FROM python:3.10-slim5 6# Set the working directory inside the container7WORKDIR /app8 9# Install dependencies10COPY requirements.txt .11RUN pip install --no-cache-dir -r requirements.txt12 13# Copy the rest of the application code14COPY . .15 16# Expose the port your React app runs on17EXPOSE 786018 19# Add ownership to the user20RUN chown -R 1001:1001 /app21 22# Change to the created user23USER 100124 25# Command to run the application26CMD ["python", "app.py"]