mirror of
https://github.com/PretendoNetwork/account.git
synced 2024-05-20 21:58:04 -04:00
update dockerfile to nodejs 18
This commit is contained in:
parent
fdde32e70a
commit
8a8efb44f9
11
Dockerfile
11
Dockerfile
|
@ -1,15 +1,16 @@
|
|||
FROM node:14-alpine
|
||||
FROM node:18-alpine
|
||||
|
||||
RUN apk add --no-cache python3 make gcc g++
|
||||
WORKDIR /app
|
||||
|
||||
COPY "docker/entrypoint.sh" .
|
||||
COPY "docker/entrypoint.sh" ./
|
||||
|
||||
COPY package*.json .
|
||||
COPY package*.json ./
|
||||
RUN npm install bcrypt && npm rebuild bcrypt --build-from-source
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
COPY . ./
|
||||
|
||||
VOLUME [ "/app/config.json" ]
|
||||
VOLUME [ "/app/config.json", "/app/certs" ]
|
||||
|
||||
CMD ["sh", "entrypoint.sh"]
|
||||
|
|
Loading…
Reference in a new issue