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
|
FROM node:lts-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json .
|
COPY . .
|
||||||
RUN npm install --production && \
|
RUN npm install --production && \
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
FROM nginx:alpine AS serve
|
FROM nginx:alpine
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build --chown=nginx:nginx /app/dist /usr/share/nginx/html
|
||||||
|
|
|
@ -5,4 +5,4 @@ services:
|
||||||
context: .
|
context: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${AHURAC_PORT}:4321"
|
- "${AHURAC_PORT}:80"
|
||||||
|
|
Loading…
Reference in a new issue