20 lines
327 B
Plaintext
20 lines
327 B
Plaintext
# Use an official Bun image as the base
|
|
FROM oven/bun:1.3-debian
|
|
|
|
# Set the working directory in the container
|
|
WORKDIR /app
|
|
|
|
# COPY package*.json ./
|
|
COPY /src/Managing.Web3Proxy/package.json ./
|
|
|
|
|
|
# Install dependencies
|
|
RUN bun install
|
|
|
|
COPY src/Managing.Web3Proxy/ .
|
|
|
|
RUN bun run build
|
|
|
|
EXPOSE 4111
|
|
|
|
CMD ["bun", "run", "start"] |