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

+ 4 - 4
Dockerfile

6
 RUN apt-get install -y libjpeg62 libjpeg62-turbo-dev  zlib1g-dev gettext entr poppler-utils gettext xfonts-thai vim
6
 RUN apt-get install -y libjpeg62 libjpeg62-turbo-dev  zlib1g-dev gettext entr poppler-utils gettext xfonts-thai vim
7
 
7
 
8
 RUN wget ftp://ftp.psu.ac.th/pub/thaifonts/sipa-fonts/*ttf -P /usr/share/fonts/truetype/thai
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
 RUN \
11
 RUN \
12
         echo "Installing Node and Yarn" && \
12
         echo "Installing Node and Yarn" && \
22
 FROM base as install_package
22
 FROM base as install_package
23
 WORKDIR /code
23
 WORKDIR /code
24
 COPY requirements.txt /code/
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
 COPY app /code/
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
   redis:
2
   redis:
3
     restart: unless-stopped
3
     restart: unless-stopped
4
     image: redis:7.0.5-alpine
4
     image: redis:7.0.5-alpine
5
-    expose:
6
-      - 6379
7
     ports:
5
     ports:
8
       - "6379"
6
       - "6379"
9
   db:
7
   db:
19
   mongodb:
17
   mongodb:
20
     image: mongo:6-jammy
18
     image: mongo:6-jammy
21
     ports:
19
     ports:
22
-      - '27017:27017'
20
+      - '27017'
23
     volumes:
21
     volumes:
24
       - ./mongodb:/data/db
22
       - ./mongodb:/data/db
25
   web:
23
   web:
33
       - ./app:/code
31
       - ./app:/code
34
       - ./media:/code/media
32
       - ./media:/code/media
35
     ports:
33
     ports:
36
-      - "127.0.0.1:8033:8000"
34
+      - "0.0.0.0:8033:8000"
37
     environment:
35
     environment:
38
       - POSTGRES_NAME=postgres
36
       - POSTGRES_NAME=postgres
39
       - POSTGRES_USER=postgres
37
       - POSTGRES_USER=postgres