mirror of
https://github.com/RGBCube/cinny
synced 2025-07-30 16:37:46 +00:00
add ngnix conf file for docker build (#1837)
This commit is contained in:
parent
b387370aaf
commit
2157f9a322
3 changed files with 28 additions and 4 deletions
|
@ -14,6 +14,7 @@ RUN npm run build
|
|||
FROM nginx:1.27.0-alpine
|
||||
|
||||
COPY --from=builder /src/dist /app
|
||||
COPY --from=builder /src/docker-nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html \
|
||||
&& ln -s /app /usr/share/nginx/html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue