Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cloud-native
lab-rest
Commits
aa14d56d
Commit
aa14d56d
authored
Mar 01, 2021
by
Nane Kratzke
Browse files
Fixed Dockerfile
parent
f29584d5
Pipeline
#29460
failed with stages
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api/Dockerfile
View file @
aa14d56d
FROM
python:3.9-alpine
COPY
. /app/
WORKDIR
/app
COPY
api.py /app/api.py
COPY
requirements.txt /app/requirements.txt
COPY
books.db /app/books.db
RUN
pip3
install
-r
requirements.txt
RUN
pip3
install
-r
/app/
requirements.txt
EXPOSE
5000
ENTRYPOINT
["python3", "-u", "api.py"]
ENTRYPOINT
["python3", "-u", "
/app/
api.py"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment