2024-09-26 09:34:22 +02:00
|
|
|
# frontend/Dockerfile
|
|
|
|
FROM node:22.9-alpine3.19 AS prod
|
|
|
|
|
2024-09-27 14:47:29 +02:00
|
|
|
WORKDIR /react_test/spa_react/
|
2024-09-26 09:34:22 +02:00
|
|
|
|
|
|
|
COPY public/ /public
|
|
|
|
COPY src/ /src
|
|
|
|
COPY package.json /
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
CMD ["npm", "start"]
|