1
0
Fork 0

Part 2 exercises

This commit is contained in:
Vili Sinervä 2023-03-15 18:22:26 +02:00
parent 108f52dbd5
commit ad09df6e2b
16 changed files with 266 additions and 0 deletions

View 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/api
RUN npm install && npm run build
RUN npm install -g serve
CMD ["serve", "-s", "-l", "5000", "build"]