You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
198 B
15 lines
198 B
6 years ago
|
FROM python:alpine
|
||
|
|
||
|
WORKDIR /app
|
||
|
COPY . .
|
||
|
|
||
|
RUN pip install --no-cache-dir --requirement requirements.txt
|
||
|
|
||
|
RUN addgroup -g 9999 lilia
|
||
|
|
||
|
EXPOSE 5000
|
||
|
|
||
|
USER nobody:lilia
|
||
|
|
||
|
ENTRYPOINT ["python", "app.py"]
|