Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit983420d

Browse files
author
evantayloryates
authored
Merge pull request#31 from sanjeev-sreenath/dockerize
dockerize apod-api
2 parentsc0705ae +496e3f6 commit983420d

File tree

4 files changed

+97
-70
lines changed

4 files changed

+97
-70
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ lib/
1010
.DS_Store
1111
.idea/
1212
apod/__pycache__/
13+
venv/

‎Dockerfile‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:3-alpine
2+
3+
WORKDIR /usr/src/app
4+
COPY requirements.txt ./
5+
RUN pip install --no-cache-dir -r requirements.txt
6+
COPY . .
7+
EXPOSE 5000
8+
ENTRYPOINT ["python"]
9+
CMD ["application.py"]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp