diff --git a/Dockerfile b/Dockerfile index c9f6d1c..1f0bdeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM oven/bun:latest WORKDIR /usr/src/app COPY . . -VOLUME [ "/config"] -COPY config.json /config/config.json +COPY ./config.json /config RUN bun install --frozen-lockfile --production ENV NODE_ENV=production EXPOSE 7000/tcp +VOLUME [ "/config"] ENTRYPOINT [ "bun", "run", "index.ts" ] diff --git a/compose.yaml b/compose.yaml index a4519a9..ac0c610 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,4 +5,4 @@ services: - '7000:7000' restart: unless-stopped volumes: - - /home/ns:/config:ro + - /home/ns:/config