inbox service dockerfile
This commit is contained in:
parent
c04cd77418
commit
12934a3d81
15
InboxDockerfile
Normal file
15
InboxDockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM python:3.8
|
||||
|
||||
EXPOSE 8081
|
||||
|
||||
RUN /usr/local/bin/python -m pip install --upgrade pip
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt ./
|
||||
|
||||
RUN set -ex && pip install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "server.py", "inbox"]
|
Loading…
Reference in New Issue
Block a user