Skip to content

Commit f9d2b26

Browse files
author
Ivan Ricotti
committed
fixing setup
1 parent d20b9de commit f9d2b26

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
dist
33
.git
44
.gitignore
5+
Dockerfile

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM node:18 AS build
22
WORKDIR /app
33
COPY package.json package-lock.json ./
4-
RUN npm install
5-
COPY . .
4+
RUN npm ci
65
RUN npm run build
76

87
FROM nginx:alpine

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# hello-world2
1+
# hello-world
22

33
## Project setup
44
```

0 commit comments

Comments
 (0)