Require DATABASE_URL to be set
This commit is contained in:
parent
b2095e98fb
commit
757e670dbb
3 changed files with 10 additions and 2 deletions
|
@ -28,6 +28,8 @@ RUN addgroup -S user && adduser -S user -G user
|
|||
WORKDIR /runner
|
||||
# Copy the server binary and the public directory, note the debug binary
|
||||
COPY --from=builder /build/target/x86_64-unknown-linux-musl/debug/server /runner/server
|
||||
RUN mkdir /runner/public
|
||||
RUN echo "Debug build!" > /runner/public/index.html
|
||||
|
||||
# Make sure the user can access the files
|
||||
RUN chown -R user:user /runner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue