File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,6 @@ EXPOSE 80
31
31
EXPOSE 81
32
32
EXPOSE 443
33
33
34
- COPY docker/rootfs /
35
- ADD backend /app
36
- ADD frontend/dist /app/frontend
37
-
38
- WORKDIR /app
39
- RUN yarn install
40
-
41
- # Remove frontend service not required for prod, dev nginx config as well
42
- RUN rm -rf /etc/services.d/frontend RUN rm -f /etc/nginx/conf.d/dev.conf
43
-
44
34
RUN mkdir -p /opt/luarocks-build && cd /opt/luarocks-build && apk add readline-dev perl pcre-dev openssl-dev zlib-dev
45
35
RUN wget -O /opt/luarocks-build/luarocks-3.3.1.tar.gz http://luarocks.github.io/luarocks/releases/luarocks-3.3.1.tar.gz && wget -O /opt/luarocks-build/lua-5.1.5.tar.gz http://www.lua.org/ftp/lua-5.1.5.tar.gz
46
36
RUN mkdir -p /opt/openresty-build && cd /opt/openresty-build && wget -O /opt/openresty-build/openresty-1.15.8.3.tar.gz https://openresty.org/download/openresty-1.15.8.3.tar.gz
@@ -87,6 +77,16 @@ RUN cd /opt/luarocks-build/lua-5.1.5 && make linux test && make install
87
77
RUN cd /opt/luarocks-build/luarocks-3.3.1 && ./configure && make && make install
88
78
RUN apk add unzip && luarocks install lua-resty-openidc && luarocks install lua-cjson
89
79
80
+ COPY docker/rootfs /
81
+ ADD backend /app
82
+ ADD frontend/dist /app/frontend
83
+
84
+ WORKDIR /app
85
+ RUN yarn install
86
+
87
+ # Remove frontend service not required for prod, dev nginx config as well
88
+ RUN rm -rf /etc/services.d/frontend RUN rm -f /etc/nginx/conf.d/dev.conf
89
+
90
90
VOLUME [ "/data" , "/etc/letsencrypt" ]
91
91
CMD [ "/init" ]
92
92
You can’t perform that action at this time.
0 commit comments