You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
xmrauctions/Dockerfile-xmrauctions

15 lines
398 B
Plaintext

FROM python:3
RUN apt-get update
RUN apt-get install python3 python3-venv -y
RUN useradd -M -s /bin/bash -b /srv/xmrauctions xmrauctions
COPY . /srv/xmrauctions
RUN chown -R xmrauctions:xmrauctions /srv/xmrauctions
USER xmrauctions
WORKDIR /srv/xmrauctions
RUN python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
RUN chmod +x ./bin/*
ENTRYPOINT ["./bin/entrypoint"]