Skip to content

Commit

Permalink
Fixing Dockerfile.prod Fixes #61 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuuzake authored Jan 3, 2021
1 parent fecc4a5 commit d14c243
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM node:13.12.0-alpine as build
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
ARG BASE_URL
ENV REACT_APP_BASE_URL $BASE_URL
COPY ./package.json ./package-lock.json /app/
RUN npm ci --silent
RUN npm install [email protected] -g --silent
Expand All @@ -13,4 +11,4 @@ FROM nginx:stable-alpine
COPY --from=build /app/build /usr/share/nginx/html
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit d14c243

Please sign in to comment.