This commit is contained in:
@@ -8,8 +8,8 @@ RUN apt update -y && \
|
||||
apt clean
|
||||
|
||||
COPY ./ ./
|
||||
COPY ./docker-entrypoint.sh /usr/local/bin
|
||||
RUN bun install --production --frozen-lockfile --no-cache && \
|
||||
rm -rf ~/.bun
|
||||
|
||||
USER bun:bun
|
||||
CMD ["start", "/drone/src"]
|
||||
|
||||
5
docker-entrypoint.sh
Executable file
5
docker-entrypoint.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
cd ~/app
|
||||
exec bun start /drone/src
|
||||
Reference in New Issue
Block a user