Skip to content

Commit

Permalink
change blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Feb 3, 2022
1 parent 0a3abcf commit 745314d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@

##__________________________________________________________________||
FROM node:16.13-alpine as build

WORKDIR /app

COPY ./ src

WORKDIR /app/src

RUN npm install

COPY docker/env.local .env.local

RUN npm run build


##__________________________________________________________________||
FROM nginx:1.19

RUN apt-get update && apt-get install -y dumb-init
COPY --from=build /app/src/dist /usr/share/nginx/html
COPY docker/etc-nginx-conf.d-default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
COPY docker/cmd.sh /
RUN chmod +x /cmd.sh

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/cmd.sh" ]

##__________________________________________________________________||

0 comments on commit 745314d

Please sign in to comment.