Docker-test spa with react

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-26 09:34:22 +02:00
parent 3648937eac
commit 5cc8829147

View file

@ -0,0 +1,12 @@
# frontend/Dockerfile
FROM node:22.9-alpine3.19 AS prod
WORKDIR /
COPY public/ /public
COPY src/ /src
COPY package.json /
RUN npm install
CMD ["npm", "start"]