We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725f0d7 commit 7e88ca0Copy full SHA for 7e88ca0
1 file changed
Dockerfile
@@ -5,7 +5,13 @@ LABEL maintainer="rhj0830@gmail.com"
5
COPY . /app/server
6
7
WORKDIR /app/server
8
-
9
-RUN pip3 install -r requirements.txt
+# 환경변수 세팅 및 python module 설치
+RUN export ES_IP='http://localhost' \
10
+ && export ES_PORT=9200 \
11
+ && export SPRING_IP='http://localhost' \
12
+ && export SPRING_PORT=8080 \
13
+ && export REDIS_IP='redis://localhost' \
14
+ && export REDIS_PORT=6379 \
15
+ && pip3 install -r requirements.txt
16
17
ENTRYPOINT ["python", "Server.py"]
0 commit comments