chore: dockerfile

master
Guilian Celin--Davanture 2024-04-10 18:26:12 +02:00
parent 5b33c5f8d5
commit 2a7ee4d593
Signed by: Guilian
GPG Key ID: C063AC8F4FC34489
1 changed files with 17 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
# Use the oven/bun:1 base image
FROM oven/bun:1
# Set the working directory to /app
WORKDIR /app
# Create a startup script
COPY static static
COPY views views
COPY *.ts .
COPY *.json .
RUN bun install
# Run the startup script when the container starts
CMD ["bun", "run", "index.ts"]