16 lines
361 B
Docker
16 lines
361 B
Docker
FROM oven/bun:0.8.1
|
|
|
|
RUN apt update -y && \
|
|
apt full-upgrade -y && \
|
|
apt install -y --reinstall ca-certificates && \
|
|
apt install -y --no-install-recommends git && \
|
|
apt autoremove -y --purge && \
|
|
apt clean
|
|
|
|
COPY ./ ./
|
|
RUN bun install --production --frozen-lockfile --no-cache && \
|
|
rm -rf ~/.bun
|
|
|
|
USER bun:bun
|
|
CMD ["start", "/drone/src"]
|