dockerfiles

This commit is contained in:
Martti Malmi 2023-06-09 14:04:57 +03:00
parent 5ddb633a3a
commit 2627821159
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,6 @@ WORKDIR /build
COPY package.json yarn.lock ./
# Install dependencies
ENV NODE_OPTIONS=--openssl-legacy-provider
RUN yarn
# Copy project files and folders to the current working directory (i.e. '/app')
@ -36,4 +35,4 @@ COPY --from=build-stage /build .
EXPOSE 8080
CMD [ "yarn", "serve" ]
CMD [ "yarn", "preview" ]

View File

@ -10,4 +10,4 @@ RUN yarn
COPY . .
CMD [ "yarn", "dev-docker" ]
CMD [ "yarn", "dev" ]