fix width if no voter
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
FROM node:lts-alpine AS build-stage
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN n
|
||||
RUN npx nuxt build
|
||||
|
||||
FROM node:lts-alpine AS production-stage
|
||||
WORKDIR /app
|
||||
COPY --from=build-stage /app/.output/ /app
|
||||
COPY --from=build-stage /app/node_modules/ /app/node_modules
|
||||
EXPOSE 3000
|
||||
CMD ["node", "server/index.mjs"]
|
||||
Reference in New Issue
Block a user