Moved Dockerfile and added new Dockerfile for arm64 build
This commit is contained in:
parent
505dac7d38
commit
99cdb91a89
8
docker/arm64/Dockerfile
Normal file
8
docker/arm64/Dockerfile
Normal 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" ]
|
@ -3,6 +3,6 @@ FROM node:14
|
|||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY . .
|
COPY ../../. .
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
Loading…
Reference in New Issue
Block a user