8 lines
173 B
Docker
8 lines
173 B
Docker
FROM node:16-alpine
|
|
WORKDIR /app
|
|
COPY ./package.json ./yarn.lock ./
|
|
RUN yarn install --frozen-lockfile
|
|
COPY . .
|
|
RUN yarn build
|
|
EXPOSE 3000
|
|
CMD ["yarn", "preview", "--host"]
|