Add native dockerfile

This commit is contained in:
Zoe Roux
2022-11-01 00:59:40 +09:00
parent 856f42ce27
commit a065205ea0
6 changed files with 159 additions and 6 deletions
-13
View File
@@ -1,13 +0,0 @@
FROM node:16-alpine AS builder
WORKDIR /app
COPY .yarn ./.yarn
COPY .yarnrc.yml ./
COPY package.json yarn.lock ./
COPY packages/web/package.json packages/web/package.json
RUN yarn --immutable
ENV NEXT_TELEMETRY_DISABLED 1
EXPOSE 3000
ENV PORT 3000
CMD ["yarn", "web"]