Re-organize submissions
This commit is contained in:
parent
1bbc819280
commit
bcf1e3361f
23 changed files with 31 additions and 44 deletions
9
part1/Exercise_14/Dockerfile_front
Normal file
9
part1/Exercise_14/Dockerfile_front
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM node:16.19
|
||||
EXPOSE 5000
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
COPY . .
|
||||
ENV REACT_APP_BACKEND_URL=http://devops:8080
|
||||
RUN npm install && npm run build
|
||||
RUN npm install -g serve
|
||||
CMD ["serve", "-s", "-l", "5000", "build"]
|
Reference in a new issue