Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b79b0162d1 | ||
|
|
e05598b860 | ||
|
|
d5fbec27dd |
@@ -17,12 +17,12 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
# uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
# with:
|
with:
|
||||||
# registry: ${{ env.ENDPOINT }}
|
registry: ${{ env.ENDPOINT }}
|
||||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
+1
-2
@@ -6,7 +6,6 @@ COPY package*.json ./
|
|||||||
|
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN n
|
|
||||||
RUN npx nuxt build
|
RUN npx nuxt build
|
||||||
|
|
||||||
FROM node:lts-alpine AS production-stage
|
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/.output/ /app
|
||||||
COPY --from=build-stage /app/node_modules/ /app/node_modules
|
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
|
EXPOSE 3000
|
||||||
CMD ["node", "server/index.mjs"]
|
CMD ["node", "server/index.mjs"]
|
||||||
Reference in New Issue
Block a user