1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Files
cheat.sh/Dockerfile
T
Anatoli Babenia cfcc2898fb Switch to Python 3.9 image
Having Python preinstalled saves time

https://hub.docker.com/_/python
2020-11-15 14:43:18 +03:00

14 lines
237 B
Docker

FROM python:3.9-slim
### copying app sources
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
## fetching cheat sheets
RUN python3 lib/fetch.py fetch-all
ENTRYPOINT ["python3", "-u", "bin/srv.py"]
CMD [""]