mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 06:03:22 +00:00
dockerfiles
This commit is contained in:
parent
5ddb633a3a
commit
2627821159
@ -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" ]
|
||||
|
@ -10,4 +10,4 @@ RUN yarn
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "yarn", "dev-docker" ]
|
||||
CMD [ "yarn", "dev" ]
|
||||
|
Loading…
Reference in New Issue
Block a user