Moved Dockerfile and added new Dockerfile for arm64 build

This commit is contained in:
Andreas Greiner 2021-08-08 17:06:31 +02:00
parent 505dac7d38
commit 99cdb91a89
2 changed files with 9 additions and 1 deletions

8
docker/arm64/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:14
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --node_sqlite3_binary_host_mirror=https://greiner.live/binaries
COPY ../../. .
EXPOSE 3000
CMD [ "npm", "start" ]

View File

@ -3,6 +3,6 @@ FROM node:14
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
COPY ../../. .
EXPOSE 3000
CMD [ "npm", "start" ]