ExpressTemplate/Dockerfile

19 lines
300 B
Docker
Raw Normal View History

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