refactor: update dockerfile

This commit is contained in:
Mauricio Siu
2024-08-01 01:04:10 -06:00
parent 7547f5ec27
commit 679c3238e2
3 changed files with 3 additions and 8 deletions

View File

@@ -1,14 +1,9 @@
name: Build and Publish Docker image
name: Build Docs & Website Docker images
on:
push:
branches: ["feat/docker-images-apps"]
pull_request:
branches: ["canary", "main"]
env:
IMAGE_NAME: dokploy/website:latest
jobs:
build-and-push-image-docs:
runs-on: ubuntu-latest

View File

@@ -32,4 +32,4 @@ COPY --from=build /prod/docs/package.json ./package.json
COPY --from=build /prod/docs/node_modules ./node_modules
EXPOSE 3000
CMD [ "pnpm", "start" ]
CMD HOSTNAME=0.0.0.0 && pnpm start

View File

@@ -32,4 +32,4 @@ COPY --from=build /prod/website/package.json ./package.json
COPY --from=build /prod/website/node_modules ./node_modules
EXPOSE 3000
CMD [ "pnpm", "start" ]
CMD HOSTNAME=0.0.0.0 && pnpm start