|
|
@@ -11,9 +11,10 @@ RUN mkdir -p /usr/share/nginx/html/static
|
|
|
RUN mkdir -p /etc/nginx/conf.d/
|
|
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/nginx.conf
|
|
|
-COPY dist /usr/share/nginx/html/
|
|
|
-COPY dist /usr/share/nginx/html/admin/
|
|
|
-COPY dist/static /usr/share/nginx/html/static/
|
|
|
+
|
|
|
+ADD flarum.tar.gz /usr/share/nginx/html/
|
|
|
+ADD flarum.tar.gz /usr/share/nginx/html/admin/
|
|
|
+COPY /usr/share/nginx/html/admin/static /usr/share/nginx/html/static/
|
|
|
|
|
|
EXPOSE 80
|
|
|
CMD [ "nginx", "-g", "daemon off;" ]
|