Modified Dockerfile & Flatpak build doc
This commit is contained in:
parent
9855d17345
commit
cbdbfd39a9
7
packages/flatpak/Dockerfile
Normal file
7
packages/flatpak/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM python:alpine3.7
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT [ "python" ]
|
||||
CMD [ "server.py" ]
|
|
@ -1,19 +0,0 @@
|
|||
FROM ubuntu:20.04
|
||||
|
||||
MAINTANER Your Name "kuldeep.k@cisinlabs.com"
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y python-pip python-dev
|
||||
|
||||
# We copy just the requirements.txt first to leverage Docker cache
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
ENTRYPOINT [ "python" ]
|
||||
|
||||
CMD [ "server.py" ]
|
|
@ -1 +1 @@
|
|||
flask
|
||||
Flask
|
Reference in New Issue
Block a user