Skip to content

Commit cd969ee

Browse files
committed
Update Dockerfile to specify node version
1 parent 1e6d355 commit cd969ee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docker/Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the base image with Node.js
2-
FROM node:latest
2+
FROM node:10.20-jessie
33

44
# Copy the current directory into the Docker image
55
COPY . /challenge-api
@@ -9,9 +9,5 @@ WORKDIR /challenge-api
99

1010
# Install the dependencies from package.json
1111
RUN npm install
12-
RUN npm run lint
13-
RUN npm run lint:fix
14-
#RUN npm run build
15-
#RUN npm run test
1612

1713
CMD npm start

0 commit comments

Comments
 (0)