Skip to content

Commit d4a5253

Browse files
committed
Add Dockerfile.
1 parent 7bfcd7c commit d4a5253

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Align with the CI/CD YML
2+
FROM python:2.7
3+
4+
# Setup workdir
5+
WORKDIR /api-server
6+
7+
# Copy src files
8+
COPY . .
9+
10+
# Install deps
11+
RUN pip install -r requirements.txt
12+
13+
# Temporary hack until PR https://github.com/wuhan2020/api-server/pull/27 is merged
14+
RUN mkdir -p /home/wuhan2020/wuhan2020
15+
16+
# Expose port 5000
17+
EXPOSE 5000
18+
19+
# Start the server
20+
ENTRYPOINT [ "bash", "bootstrap"]

0 commit comments

Comments
 (0)