This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/Dockerfile

19 lines
281 B
Docker
Raw Permalink Normal View History

2019-12-25 17:36:31 +00:00
FROM node:lts AS source-code
2019-07-17 12:44:05 +00:00
WORKDIR /app
COPY . .
2019-12-25 17:36:31 +00:00
RUN npm install
2019-07-17 12:44:05 +00:00
RUN npm run build
2019-12-25 17:36:31 +00:00
FROM nginx:1.17
WORKDIR /usr/share/nginx/html
COPY --from=source-code /app/dist /usr/share/nginx/html
2019-11-27 10:24:16 +00:00
COPY docker/start.sh /start.sh
RUN chmod uog+rwx /start.sh
2019-12-25 17:36:31 +00:00
EXPOSE 80
2019-11-27 10:24:16 +00:00
CMD [ "/start.sh"]