forked from github.com/GenderDysphoria.fyi
fix please? maybe?
This commit is contained in:
@@ -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 ../dist /var/www/build
|
COPY ../build /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"]
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt install -y graphicsmagick p7zip-full
|
apt install -y graphicsmagick p7zip-full
|
||||||
-
|
-
|
||||||
name: Use Node.js ${{ matrix.node-version }}
|
name: Use Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
@@ -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;cp -a dist docker/
|
run: npm cache clean --force;mv dist docker/build
|
||||||
-
|
-
|
||||||
name: Build and push docker image to gitea package store
|
name: Build and push docker image to gitea package store
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user