Skip to content

Commit a2aa14a

Browse files
committed
Small changes xD
1 parent 7160b99 commit a2aa14a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:18-alpine
22
WORKDIR /app
33
COPY my-app .
4-
RUN if [ "$NODE_ENV" = "production" ]; then npm install --production; else npm install; fi
4+
RUN if [ "$NODE_ENV" = "production" ]; then npm install --production; else npm ci; fi
55
EXPOSE 5173
66
CMD ["npm", "run", "dev"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
build:
44
context: .
55
dockerfile: Dockerfile
6-
container_name: my-react-app
6+
container_name: my-app
77
ports:
88
- "5173:5173"
99
volumes:

0 commit comments

Comments
 (0)