This commit is contained in:
parent
86eac08cf9
commit
27277a8844
@ -6,10 +6,12 @@ RUN yarn install
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
RUN npm install -g serve
|
|
||||||
|
|
||||||
EXPOSE 80
|
FROM node:22-alpine
|
||||||
CMD ["serve /app/dist -p 80"]
|
RUN npm i -g serve
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=build /app/dist ./dist
|
||||||
|
CMD ["serve", "-s", "dist", "-p", "80"]
|
||||||
#
|
#
|
||||||
#FROM nginx:stable-alpine
|
#FROM nginx:stable-alpine
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user