forked from s3lph/matemat
11 lines
458 B
Docker
11 lines
458 B
Docker
|
|
FROM debian:buster
|
|
|
|
RUN useradd -d /home/matemat -m matemat
|
|
RUN mkdir -p /var/matemat/db && chown matemat:matemat -R /var/matemat/db
|
|
RUN mkdir -p /var/matemat/upload && chown matemat:matemat -R /var/matemat/upload
|
|
RUN apt-get update -qy
|
|
RUN apt-get install -y --no-install-recommends sudo openssh-client git docker.io python3-dev python3-pip python3-coverage python3-setuptools build-essential
|
|
RUN pip3 install wheel pycodestyle mypy
|
|
|
|
WORKDIR /home/matemat
|