fix
This commit is contained in:
parent
13206575cc
commit
e48cafe535
10
Dockerfile
10
Dockerfile
|
|
@ -1,7 +1,13 @@
|
|||
FROM oven/bun:1.0.18-debian as base
|
||||
WORKDIR /app/docker
|
||||
RUN mkdir -p /app/prasi/repo
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install git curl gnupg zip unzip -yq
|
||||
RUN cd /app/prasi/repo && git reset --hard && git pull && RUN bun install && bun build
|
||||
|
||||
COPY docker.ts docker.ts
|
||||
USER bun
|
||||
EXPOSE 3000/tcp
|
||||
EXPOSE 4550/tcp
|
||||
CMD [ "bun", "run", "prod" ]
|
||||
|
||||
CMD [ "bun", "run", "docker.ts" ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue