Skip to content

Commit

Permalink
chore: add Dockerfile-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
huynvn97 committed Oct 1, 2024
1 parent f959a8b commit f70b5aa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ----- BUILD STAGE -----
FROM node AS build

# Temporarily necessary, see https://github.com/webpack/webpack/issues/14532
ARG NODE_OPTIONS=--openssl-legacy-provider

WORKDIR /usr/src/app

# Rebuild everything if those files change
COPY package.json package-lock.json ./

RUN npm install
RUN npm install -g @angular/cli

COPY . .

ENV CLIENT_ID=adminUI

EXPOSE 4200

CMD ["ng", "serve", "--host", "0.0.0.0", "--disable-host-check"]

0 comments on commit f70b5aa

Please sign in to comment.