fix(deploy): correct issues in dockerfile
This commit is contained in:
parent
ee1fe019d5
commit
c4dbe4261d
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
FROM node:18-alpine
|
||||
|
||||
RUN apk install openssl
|
||||
|
||||
RUN yarn global add pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
@ -14,8 +16,8 @@ COPY pages ./pages
|
|||
COPY prisma ./prisma
|
||||
COPY styles ./styles
|
||||
COPY public ./public
|
||||
COPY *.config.js .
|
||||
COPY tsconfig.json .
|
||||
COPY *.config.js ./
|
||||
COPY tsconfig.json ./
|
||||
COPY next-*.d.ts ./
|
||||
|
||||
# Environment variables must be present at build time
|
||||
|
|
Loading…
Reference in a new issue