Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files15 unmodified lines161718192021221 unmodified line242526272829303132333415 unmodified lines# Create a working directoryWORKDIR /appWORKDIR /app/cache/# Install Python dependenciesRUN pip install --upgrade pip1 unmodified line# Copy the current directory contents into the container at /appCOPY . /app# install requirementsCMD ['pip install -r requirements.txt']# Unzip the data.zip file into the /app/data directoryRUN unzip data.zip -d /app/data# Set the default command to run when starting the containerCMD ["python", "m5.py"]15 unmodified lines1617181920212223242526271 unmodified line293031323334353637383915 unmodified lines# Create a working directoryWORKDIR /app# Create cache directoryRUN mkdir -p /app/cache# Set the cache environment variableENV TRANSFORMERS_CACHE=/app/cache# Install Python dependenciesRUN pip install --upgrade pip1 unmodified line# Copy the current directory contents into the container at /appCOPY . /app# Install requirementsRUN pip install -r requirements.txt# Unzip the data.zip file into the /app/data directoryRUN unzip data.zip -d /app/data# Set the default command to run when starting the containerCMD ["python", "m5.py"]
Dockerfile+9-4