From 723671b89740001037dcdbd855a268b22e9cefcd Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Thu, 22 Aug 2024 00:25:29 +0200 Subject: [PATCH] chore: some dockerfile fixes and cleanup --- Dockerfile | 2 ++ dev/compose.yml | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 dev/compose.yml diff --git a/Dockerfile b/Dockerfile index d2725d6..7412289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ RUN yarn install --production --ignore-scripts --prefer-offline FROM node:lts-alpine WORKDIR /app COPY --from=builder /app/build build/ +COPY --from=builder /app/public public/ +COPY --from=builder /app/db db/ COPY --from=builder /app/node_modules node_modules/ COPY package.json . EXPOSE 3000 diff --git a/dev/compose.yml b/dev/compose.yml deleted file mode 100644 index 41f2353..0000000 --- a/dev/compose.yml +++ /dev/null @@ -1,12 +0,0 @@ -volumes: - psql-tbh: -services: - psql: - image: postgres - environment: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: dfsjhkdswkjntelsmldbfvsgknl5t - volumes: - - psql-tbh:/var/lib/postgresql/data - ports: - - 5554:5432 \ No newline at end of file