Skip to content
Snippets Groups Projects
Commit 30437265 authored by derrabauke's avatar derrabauke
Browse files

still debuggin the client docker file

parent 27d16683
No related branches found
No related tags found
No related merge requests found
# Build a release # Build a release
FROM node:12.16.3 as build FROM node:12.16.3
RUN mkdir /usr/src/app RUN mkdir /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
ENV PATH /usr/src/app/node_modules/.bin:$PATH
CMD ["ls"]
COPY package*.json ./ COPY package*.json ./
ENV PATH /usr/src/app/node_modules/.bin:$PATH
RUN npm install RUN npm install --silent
COPY . /usr/src/app COPY . /usr/src/app
...@@ -20,7 +15,7 @@ RUN npm run build ...@@ -20,7 +15,7 @@ RUN npm run build
# Put this stuff into a nginx server # Put this stuff into a nginx server
FROM nginx:latest FROM nginx:latest
COPY --from=build /usr/src/app/build /usr/share/nginx/html COPY --from=0 /usr/src/app/build /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment