mirror of
https://github.com/88lex/safire.git
synced 2025-02-24 05:44:42 +08:00
add dockerfile
This commit is contained in:
parent
757fa67f8f
commit
d2332e33bc
1 changed files with 14 additions and 0 deletions
14
dockerfile
Normal file
14
dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
FROM python:3.8.5-alpine3.12
|
||||||
|
|
||||||
|
ENV MAX_PROJECTS=100
|
||||||
|
ENV SAS_PER_PROJECT=100
|
||||||
|
ENV EMAIL_PREFIX=svcacc
|
||||||
|
ENV PROJECT_PREFIX=UniqPrefix
|
||||||
|
ENV JSON_PREFIX=svcacc
|
||||||
|
|
||||||
|
COPY ./requirements.txt /opt/requirements.txt
|
||||||
|
WORKDIR /opt
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
python3.8 &&\
|
||||||
|
pip install /opt/requireme
|
Loading…
Reference in a new issue