Fix devcontainer setup
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
FROM node:22-alpine AS base
|
||||
WORKDIR /app
|
||||
WORKDIR /app/frontend
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install
|
||||
COPY . .
|
||||
@ -12,5 +12,5 @@ EXPOSE 5173
|
||||
ENTRYPOINT [ "yarn", "dev", "--host", "0.0.0.0" ]
|
||||
|
||||
FROM nginx:alpine AS production
|
||||
COPY --from=build /app/dist/ /usr/share/nginx/html
|
||||
COPY --from=build /app/frontend/dist/ /usr/share/nginx/html
|
||||
ENTRYPOINT [ "nginx", "-g", "daemon off;" ]
|
||||
|
Reference in New Issue
Block a user