Skip to content

Commit 0fa47c0

Browse files
committed
Test-5 wrong image
1 parent 46fe33d commit 0fa47c0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
FROM ubuntu:latest
1+
FROM node:20-alpine
22

3-
RUN echo 'Installing dependencies'
3+
WORKDIR /usr/src/app
44

5-
RUN apt update
5+
COPY package*.json ./
66

7-
RUN apt install nodejs npm
7+
RUN npm install
88

99
COPY . .
1010

11-
CMD [ "npm","run","dev" ]
11+
EXPOSE 3000 9229
1212

13+
CMD ["npm", "run", "dev"]

0 commit comments

Comments
 (0)