fix docker, copy .env into place
This commit is contained in:
@@ -10,6 +10,7 @@ RUN npm run build
|
||||
FROM node:lts-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
COPY .env ./
|
||||
RUN npm install --only=production
|
||||
COPY --from=builder /src/.next ./.next
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user