feat: heleo#
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
COPY . .
|
||||
|
||||
# Initialize DB during build or rely on start
|
||||
# We'll just ensure the directory is writable if needed, but sqlite file is created at runtime if not present.
|
||||
# However, if we want to risk it, we can pre-create it. But better let the app handle it.
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user