fix(deploy): correct issues in dockerfile

This commit is contained in:
Ashhhleyyy 2022-08-08 14:11:25 +01:00
parent ee1fe019d5
commit c4dbe4261d
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -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