test4
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
FROM oven/bun:latest
|
FROM oven/bun:latest
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
VOLUME [ "/config"]
|
COPY ./config.json /config
|
||||||
COPY config.json /config/config.json
|
|
||||||
RUN bun install --frozen-lockfile --production
|
RUN bun install --frozen-lockfile --production
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
EXPOSE 7000/tcp
|
EXPOSE 7000/tcp
|
||||||
|
VOLUME [ "/config"]
|
||||||
ENTRYPOINT [ "bun", "run", "index.ts" ]
|
ENTRYPOINT [ "bun", "run", "index.ts" ]
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ services:
|
|||||||
- '7000:7000'
|
- '7000:7000'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/ns:/config:ro
|
- /home/ns:/config
|
||||||
|
|||||||
Reference in New Issue
Block a user