First post
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
FROM node:lts AS base
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY yarn.lock ./
|
||||
RUN yarn
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN yarn build
|
||||
|
||||
# Runtime stage for serving the application
|
||||
FROM nginx:mainline-alpine-slim AS runtime
|
||||
|
||||
Reference in New Issue
Block a user