Skip to content

Commit

Permalink
fix deploy yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ufaboy committed Jan 8, 2024
1 parent f70f3c9 commit 117404c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
docker stop lib-ff || true
docker rm lib-ff || true
docker load < /tmp/lib-ff.tar
docker run -d --name lib-ff -p 3000:3000 -v ${{ secrets.CERT_PATH }}:/app/certs -v /var/www/lib-api/storage:/app/storage lib-ff --add-host host.docker.internal:host-gateway
docker run -d --name lib-ff -p 3000:3000 -v ${{ secrets.CERT_PATH }}:/app/certs -v /var/www/lib-api/storage:/app/storage lib-ff
- name: Print Info
run: echo "Deployed at hosting"
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN npm install
COPY . .
RUN npx prisma generate
USER root
RUN apk add --no-cache mc
RUN apk add --no-cache mc mysql-client
EXPOSE 3000
CMD ["npm", "run", "dev"]

Expand All @@ -20,6 +20,6 @@ COPY . .
COPY .env .env
RUN npx prisma generate
USER root
RUN apk add --no-cache mc
RUN apk add --no-cache mc mysql-client
EXPOSE 3000
CMD ["npm", "run", "start"]

0 comments on commit 117404c

Please sign in to comment.