Skip to content

Commit 81aeff9

Browse files
committed
feat: update Dockerfile with worker number
Signed-off-by: ImMin5 <[email protected]>
1 parent f622722 commit 81aeff9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM cloudforet/python-core:2
22

3-
ENV PYTHONUNBUFFERED 1
4-
ENV SPACEONE_PORT 50051
5-
ENV SERVER_TYPE grpc
6-
ENV PKG_DIR /tmp/pkg
7-
ENV SRC_DIR /tmp/src
3+
ENV PYTHONUNBUFFERED=1
4+
ENV SPACEONE_PORT=50051
5+
ENV SERVER_TYPE=grpc
6+
ENV PKG_DIR=/tmp/pkg
7+
ENV SRC_DIR=/tmp/src
88

99
RUN apt update && apt upgrade -y
1010

@@ -15,7 +15,7 @@ RUN pip install --upgrade pip && \
1515

1616
ARG CACHEBUST=1
1717
RUN pip install --upgrade spaceone-api && \
18-
pip install --upgrade --pre spaceone-cost-analysis==2.0.dev161
18+
pip install --upgrade --pre spaceone-cost-analysis==2.0.dev207
1919

2020

2121

@@ -27,4 +27,4 @@ RUN python3 setup.py install && \
2727
EXPOSE ${SPACEONE_PORT}
2828

2929
ENTRYPOINT ["spaceone"]
30-
CMD ["run", "plugin-server", "cloudforet.cost_analysis"]
30+
CMD ["run", "plugin-server", "cloudforet.cost_analysis", "-w", "12"]

0 commit comments

Comments
 (0)