Fix ci finally?

This commit is contained in:
2024-02-08 15:22:40 -08:00
parent 38c1622d37
commit e11ec13709
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ FROM alpine:3.17
RUN apk add nginx supervisor RUN apk add nginx supervisor
RUN mkdir -p /var/www RUN mkdir -p /var/www
RUN rm -rf /etc/nginx RUN rm -rf /etc/nginx
COPY ../build /var/www/build COPY dist /var/www/build
COPY .conf/nginx /etc/nginx COPY .conf/nginx /etc/nginx
COPY .conf/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY .conf/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

View File

@@ -62,7 +62,7 @@ jobs:
run: npm run build run: npm run build
- -
name: Copy dist to docker... name: Copy dist to docker...
run: npm cache clean --force;mv dist docker/build run: npm cache clean --force;mv dist docker/.docker/dist
- -
name: Use Node.js name: Use Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2