fux
This commit is contained in:
parent
7d7516ad99
commit
ecd87894a7
10
Dockerfile
10
Dockerfile
|
|
@ -1,15 +1,7 @@
|
|||
# use the official ubuntu image
|
||||
FROM oven/bun:1.0.18-debian as base
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
FROM base AS install
|
||||
RUN mkdir -p /temp/prod
|
||||
COPY . /temp/prod/
|
||||
RUN cd /temp/prod && bun install --frozen-lockfile
|
||||
|
||||
FROM base AS release
|
||||
COPY --from=install /temp/prod/node_modules node_modules
|
||||
COPY . .
|
||||
COPY coba.ts coba.ts
|
||||
|
||||
USER bun
|
||||
EXPOSE 4550/tcp
|
||||
|
|
|
|||
Loading…
Reference in New Issue