refactor: dockerfile

This commit is contained in:
Philipp Dormann 2024-12-18 17:59:30 +01:00
parent dfac4c0fe9
commit 34c8f03571
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -1,19 +1,7 @@
FROM oven/bun:1.1.40-slim
WORKDIR /app
# Copy package files
# Install dependencies
COPY package.json .
RUN bun i
# COPY package.json bun.lockb ./
# RUN bun install --frozen-lockfile
# Copy source code
COPY . .
# Expose the application port
EXPOSE 3000
# Start the application
CMD ["bun", "run", "start"]