Macedonian-ASR / Dockerfile
cigol123's picture
Update Dockerfile
7fc018b verified
raw
history blame contribute delete
300 Bytes
FROM python:3.9
WORKDIR /code
# Create cache directory with correct permissions
RUN mkdir -p /.cache && chmod 777 /.cache
# Create a non-root user
RUN useradd -m -u 1000 user
USER user
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "app.py"]