aquavox/Dockerfile
alikia2x c1bfba8f1c
ref: delete electron package & backend
update: docker

Support for the Electron version will be delayed. We don't need it for now.
2024-12-23 02:05:49 +08:00

20 lines
354 B
Docker

# Use the official Bun image as the base image
FROM oven/bun:latest
# Set the working directory inside the container
WORKDIR /app
# Copy the application code
COPY . .
# Install dependencies
RUN bun install
# Build the app
RUN bun run web:build
# Expose the port the app runs on
EXPOSE 2611
# Command to run the application
CMD ["bun", "web:deploy"]