This commit is contained in:
2024-08-05 13:34:44 +08:00
parent 5b0fe3cff1
commit 3e77e08b24
3 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,8 @@
FROM oven/bun:latest
WORKDIR /usr/src/app
COPY . .
COPY config.json /etc/netgateswitch/config.json
VOLUME [ "/config"]
COPY config.json /config/config.json
RUN bun install --frozen-lockfile --production
ENV NODE_ENV=production
EXPOSE 7000/tcp