✨ frontend add
This commit is contained in:
13
frontend/portal/Dockerfile
Normal file
13
frontend/portal/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# portal
|
||||
FROM node:14.8.0-alpine
|
||||
|
||||
ENV APP_HOME=/usr/app/
|
||||
RUN mkdir -p ${APP_HOME}
|
||||
# 작업 시작 위치
|
||||
WORKDIR $APP_HOME
|
||||
COPY package*.json .
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
Reference in New Issue
Block a user