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.
2019-07-24 09:05:33 +00:00
|
|
|
FROM node:lts
|
2019-07-17 12:44:05 +00:00
|
|
|
RUN npm install -g http-server
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
|
2019-11-27 10:24:16 +00:00
|
|
|
COPY docker/start.sh /start.sh
|
|
|
|
RUN chmod uog+rwx /start.sh
|
|
|
|
|
2019-07-17 12:44:05 +00:00
|
|
|
EXPOSE 8080
|
2019-11-27 10:24:16 +00:00
|
|
|
CMD [ "/start.sh"]
|