|
|
@@ -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
|
|