Add Dockerfile for Deployment

This commit is contained in:
Caleb Braaten 2024-02-07 06:45:18 -08:00
parent 139815acf0
commit eb4c45f4cf

12
dockerfile Normal file
View File

@ -0,0 +1,12 @@
# Build frontend
FROM oven/bun:1.0.25-alpine as frontend
WORKDIR /app/
COPY ./ ./
# Expose port
EXPOSE 8080
# Start the app
ENV NODE_ENV=production
CMD [ "bun", "run", "./index.js" ]