ExpressTemplate/Dockerfile

18 lines
300 B
Docker

FROM oven/bun:latest
# Install netcat
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"]