Adjust Dockerfile to build successfully
This commit is contained in:
parent
cd280802de
commit
933a5f5e7c
1 changed files with 2 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
# base node image
|
||||
FROM node:16-bullseye-slim as base
|
||||
FROM node:16-bullseye as base
|
||||
|
||||
RUN apt-get update && apt-get install -y openssl
|
||||
|
||||
|
@ -7,9 +7,6 @@ RUN mkdir /app
|
|||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
|
||||
|
||||
ADD . .
|
||||
|
||||
RUN yarn install --production
|
||||
|
|
Loading…
Reference in a new issue