& so it begins
This commit is contained in:
26
dockerfiles/processor.Dockerfile
Normal file
26
dockerfiles/processor.Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM oven/bun:1.3.5-alpine
|
||||
|
||||
RUN apk add --no-cache xh
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lock turbo.json ./
|
||||
|
||||
COPY apps/processor/package.json ./apps/processor/package.json
|
||||
|
||||
COPY packages ./packages
|
||||
|
||||
RUN bun install
|
||||
|
||||
COPY apps/processor ./apps/processor
|
||||
|
||||
RUN bun install
|
||||
|
||||
COPY scripts ./scripts
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 9001
|
||||
|
||||
RUN chmod +x scripts/*.sh
|
||||
|
||||
CMD ["/bin/sh", "scripts/prod.start.sh", "apps/processor"]
|
||||
Reference in New Issue
Block a user