Skip to content

Commit

Permalink
update node
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilija Vukotic committed Jan 12, 2023
1 parent 4d66212 commit 8bad24c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3,614 deletions.
32 changes: 16 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM node:carbon

LABEL maintainer Ilija Vukotic <[email protected]>

# Create app directory
WORKDIR /usr/src/app

COPY package*.json ./
# COPY start.sh ./
RUN npm install

COPY . .

EXPOSE 80
EXPOSE 433

FROM node:current

LABEL maintainer Ilija Vukotic <[email protected]>

# Create app directory
WORKDIR /usr/src/app

COPY package*.json ./
# COPY start.sh ./
RUN npm install

COPY . .

EXPOSE 80
EXPOSE 433

CMD [ "node","--max-old-space-size=4096","index.js" ]
Loading

0 comments on commit 8bad24c

Please sign in to comment.