awesome-compose/react-java-mysql/frontend/Dockerfile.production
Anca Iordache f1e4cca535 Move all samples to the root dir
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-16 17:23:59 +01:00

13 lines
239 B
Docker
Executable File

FROM node:10 as build
RUN mkdir /project
WORKDIR /project
COPY . .
RUN yarn install
RUN yarn run package
FROM nginx:1.13-alpine
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /project/dist /usr/share/nginx/html