|
@@ -4,10 +4,9 @@ RUN mkdir -p /frontend |
|
|
WORKDIR /frontend |
|
|
WORKDIR /frontend |
|
|
|
|
|
|
|
|
COPY package.json /frontend/ |
|
|
COPY package.json /frontend/ |
|
|
RUN npm install |
|
|
|
|
|
|
|
|
RUN npm install --production |
|
|
|
|
|
|
|
|
COPY . /frontend |
|
|
COPY . /frontend |
|
|
RUN npm run build |
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 8080 |
|
|
EXPOSE 8080 |
|
|
CMD [ "npm", "start" ] |
|
|
CMD [ "npm", "start" ] |