Add database.sqlite creation step to Dockerfile
This commit is contained in:
@@ -22,6 +22,9 @@ RUN cd frontend && npm run build
|
|||||||
# Build backend
|
# Build backend
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
# Create database file
|
||||||
|
RUN touch database.sqlite
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM node:18-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user