2024-01-09 08:28:18 +01:00
|
|
|
FROM oven/bun:latest
|
2023-11-26 00:25:28 +01:00
|
|
|
|
|
|
|
# Install netcat
|
2023-11-26 01:18:50 +01:00
|
|
|
RUN apt-get update && apt-get install -y netcat-traditional
|
2023-11-26 00:25:28 +01:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
# Copy package.json and package-lock.json to the working directory
|
2024-01-09 08:28:18 +01:00
|
|
|
COPY package.json ./
|
|
|
|
copy bun.lockb ./
|
2023-11-26 00:25:28 +01:00
|
|
|
|
2024-01-09 08:28:18 +01:00
|
|
|
RUN bun install
|
2023-11-26 00:25:28 +01:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 4300
|
|
|
|
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|