initial commit
This commit is contained in:
9
Containerfile
Normal file
9
Containerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.7-alpine
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install .
|
||||
RUN project_name create-db
|
||||
RUN project_name populate-db
|
||||
RUN project_name add-user -u admin -p admin
|
||||
EXPOSE 5000
|
||||
CMD ["project_name", "run"]
|
||||
Reference in New Issue
Block a user