Skip to content

Commit

Permalink
fix: downgrade version node in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Dec 5, 2023
1 parent 95ebf2e commit 24f2519
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the base image
FROM node:18.10.0
FROM node:16.14.0

# WORKDIR /usr/src/app/
WORKDIR /home/gateway
Expand All @@ -25,11 +25,11 @@ ENV INSTALLATION_TYPE=docker
RUN mkdir -p /home/gateway/conf /home/gateway/logs /home/gateway/db /home/gateway/certs

# Install dependencies and compile
RUN npm install
RUN npm run build
RUN yarn install --frozen-lockfile
RUN yarn build

# Expose port 15888 - note that docs port is 8080
EXPOSE 15888

# Set the default command to run when starting the container
CMD npm run start
CMD yarn run start

0 comments on commit 24f2519

Please sign in to comment.