mirror of
https://github.com/kind-0/nsecbunkerd.git
synced 2026-05-03 07:00:11 +00:00
Merge pull request #10 from IngwiePhoenix/arm64-support
Optimize Dockerfile, add arm64!
This commit is contained in:
commit
02518c21a3
12
Dockerfile
12
Dockerfile
@ -1,15 +1,17 @@
|
||||
FROM --platform=linux/amd64 node:19-buster-slim as build
|
||||
FROM node:19-buster-slim as build
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json .
|
||||
RUN apt-get update -y && apt-get install -y openssl python3 build-essential make gcc
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm i
|
||||
|
||||
RUN apt-get purge -y gcc make build-essential && apt-get autoremove -y
|
||||
|
||||
COPY src/ src/
|
||||
COPY scripts scripts/
|
||||
COPY prisma/schema.prisma prisma/
|
||||
COPY tsconfig.json .
|
||||
|
||||
RUN apt-get update -y && apt-get install -y openssl
|
||||
COPY tsconfig.json ./
|
||||
|
||||
RUN npx prisma generate
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user