Docker : suppression des skill issue
This commit is contained in:
parent
c26c73ad2b
commit
f2c2b2b381
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -5,4 +5,4 @@ services:
|
|||
context: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${AHURAC_PORT}:4321"
|
||||
- "${AHURAC_PORT}:80"
|
||||
|
|
Loading…
Reference in a new issue