diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4179d255..2051680b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/Dockerfile.docs b/Dockerfile.docs index 099cce9d..71b790ec 100644 --- a/Dockerfile.docs +++ b/Dockerfile.docs @@ -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" ] \ No newline at end of file +CMD HOSTNAME=0.0.0.0 && pnpm start \ No newline at end of file diff --git a/Dockerfile.website b/Dockerfile.website index d8f50fb2..9932f527 100644 --- a/Dockerfile.website +++ b/Dockerfile.website @@ -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" ] \ No newline at end of file +CMD HOSTNAME=0.0.0.0 && pnpm start \ No newline at end of file