tum 2 yıl önce
ebeveyn
işleme
f814311a86

+ 4 - 4
Dockerfile

@@ -6,7 +6,7 @@ RUN apt-get update && apt-get install apt-transport-https
6 6
 RUN apt-get install -y libjpeg62 libjpeg62-turbo-dev  zlib1g-dev gettext entr poppler-utils gettext xfonts-thai vim
7 7
 
8 8
 RUN wget ftp://ftp.psu.ac.th/pub/thaifonts/sipa-fonts/*ttf -P /usr/share/fonts/truetype/thai
9
-COPY fonts/*ttf  /usr/share/fonts/truetype/thai
9
+COPY fonts/*ttf  /usr/share/fonts/truetype/thai/
10 10
 
11 11
 RUN \
12 12
         echo "Installing Node and Yarn" && \
@@ -22,8 +22,8 @@ RUN \
22 22
 FROM base as install_package
23 23
 WORKDIR /code
24 24
 COPY requirements.txt /code/
25
-RUN --mount=type=cache,target=/root/.cache pip install -r requirements.txt
25
+RUN  pip install -r requirements.txt
26 26
 COPY app /code/
27
-RUN chmod a+x server-entrypoint.sh
28
-RUN chmod a+x worker-entrypoint.sh
27
+#RUN chmod a+x server-entrypoint.sh
28
+#RUN chmod a+x worker-entrypoint.sh
29 29
 

BIN
app/Output/excel_out_test_excel_formatter_update.xlsx


+ 2 - 4
docker-compose.yml

@@ -2,8 +2,6 @@ services:
2 2
   redis:
3 3
     restart: unless-stopped
4 4
     image: redis:7.0.5-alpine
5
-    expose:
6
-      - 6379
7 5
     ports:
8 6
       - "6379"
9 7
   db:
@@ -19,7 +17,7 @@ services:
19 17
   mongodb:
20 18
     image: mongo:6-jammy
21 19
     ports:
22
-      - '27017:27017'
20
+      - '27017'
23 21
     volumes:
24 22
       - ./mongodb:/data/db
25 23
   web:
@@ -33,7 +31,7 @@ services:
33 31
       - ./app:/code
34 32
       - ./media:/code/media
35 33
     ports:
36
-      - "127.0.0.1:8033:8000"
34
+      - "0.0.0.0:8033:8000"
37 35
     environment:
38 36
       - POSTGRES_NAME=postgres
39 37
       - POSTGRES_USER=postgres