Author SHA1 Message Date
legonzaur b79b0162d1 fix build
release-tag / release-image (push) Successful in 1m13s
2025-06-01 13:19:46 +02:00
legonzaur e05598b860 fix containerfile
release-tag / release-image (push) Has been cancelled
2025-06-01 13:16:38 +02:00
legonzaur d5fbec27dd fix env in containerfile
release-tag / release-image (push) Failing after 34s
2025-06-01 13:15:53 +02:00
2 changed files with 7 additions and 8 deletions
+6 -6
View File
@@ -17,12 +17,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# - name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# registry: ${{ env.ENDPOINT }}
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ${{ env.ENDPOINT }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Docker meta
id: meta
+1 -2
View File
@@ -6,7 +6,6 @@ COPY package*.json ./
RUN npm ci
COPY . .
RUN n
RUN npx nuxt build
FROM node:lts-alpine AS production-stage
@@ -14,7 +13,7 @@ WORKDIR /app
COPY --from=build-stage /app/.output/ /app
COPY --from=build-stage /app/node_modules/ /app/node_modules
ENV NUXT_PUBLIC_API_BASE
ENV NUXT_PUBLIC_API_BASE=http://localhost:3000
EXPOSE 3000
CMD ["node", "server/index.mjs"]