Merge pull request #79 from Ryujinx/feature/docker

Add Dockerfile
This commit is contained in:
Ave 2021-02-28 16:47:05 +03:00 committed by GitHub
commit 6a6c88cdb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
config.py

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:alpine
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo
COPY . .
CMD [ "python", "./Robocop.py" ]