Skip to content

Commit

Permalink
Fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift committed Sep 18, 2023
1 parent 9107950 commit 68ac1c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/api/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
FROM node:18-alpine AS builder

WORKDIR /usr/src/app
# Assumes the context is the root of the monorepo.
COPY pnpm-lock.yaml package.json .
# Copies all of the contents (without files listed in .dockerignore) of the monorepo into the image.
# Assumes the context is the root of the monorepo. Copies all of the contents (without files listed in .dockerignore) of
# the monorepo into the image.
COPY . .
RUN npm install -g pnpm
# Installs all dependencies only for the api package.
Expand Down
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"dev": "pnpm ts-node src/local-server.ts",
"docker:build": "docker compose --file docker/docker-compose.yml build",
"docker:start": "docker compose --file docker/docker-compose.yml up",
"docker:detach:start": "docker compose --file docker/docker-compose.yml up --detach",
"docker:detach:stop": "docker compose --file docker/docker-compose.yml down",
"docker:start:detach": "docker compose --file docker/docker-compose.yml up --detach",
"docker:stop": "docker compose --file docker/docker-compose.yml down",
"prettier:check": "prettier --check \"./**/*.{js,ts,md,json}\"",
"prettier:fix": "prettier --write \"./**/*.{js,ts,md,json}\"",
"eslint:check": "eslint . --ext .js,.ts --max-warnings 0",
Expand Down

0 comments on commit 68ac1c0

Please sign in to comment.