Skip to content

Commit 6ffd30b

Browse files
what in the relative paths is happening
1 parent 8141f59 commit 6ffd30b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

master/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM node:20-slim as builder
22

33

4-
ENV DATABASE_URL=file:data/local.db
5-
4+
ENV DATABASE_URL=file:/app/data/local.db
5+
RUN mkdir -p /app/data
66
WORKDIR /app
77
COPY package*.json ./
88
RUN npm install
@@ -22,7 +22,7 @@ EXPOSE 3000
2222

2323
RUN mkdir -p /app/data
2424

25-
ENV DATABASE_URL=file:data/local.db
25+
ENV DATABASE_URL=file:/app/data/local.db
2626

2727

2828
RUN echo '#!/bin/sh\n\

0 commit comments

Comments
 (0)