Docker : suppression des skill issue

This commit is contained in:
Ahurac 2024-01-31 17:20:53 +01:00
parent c26c73ad2b
commit f2c2b2b381
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY package.json package-lock.json .
COPY . .
RUN npm install --production && \
npm run build
FROM nginx:alpine AS serve
COPY --from=build /app/dist /usr/share/nginx/html
FROM nginx:alpine
COPY --from=build --chown=nginx:nginx /app/dist /usr/share/nginx/html

View file

@ -5,4 +5,4 @@ services:
context: .
restart: unless-stopped
ports:
- "${AHURAC_PORT}:4321"
- "${AHURAC_PORT}:80"