Compare commits
2 Commits
007c3d604e
...
fcaf03aede
| Author | SHA1 | Date |
|---|---|---|
|
|
fcaf03aede | |
|
|
b6d23f646d |
|
|
@ -27,3 +27,7 @@ dist-ssr
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
|
|
||||||
|
# Generated Git Info
|
||||||
|
.git_*_info
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,9 @@ RUN rm /etc/nginx/conf.d/default.conf
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
|
# Copy git info metadata if generated on host
|
||||||
|
COPY .git_admin_info* /app/.git_admin_info
|
||||||
|
|
||||||
RUN ln -sf /usr/share/nginx/html /usr/share/nginx/html/admin
|
RUN ln -sf /usr/share/nginx/html /usr/share/nginx/html/admin
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue