[Backend] Change build context to services

This commit is contained in:
Riku Rauhala
2024-08-14 13:50:15 +03:00
parent 78071784d2
commit f615214ca8
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ jobs:
with:
image: oodikone-backend
tags: staging ${{ github.sha }}
context: services/backend
context: services
containerfiles: |
services/backend/Dockerfile
build-args: |
+2 -1
View File
@@ -23,7 +23,8 @@ services:
JAMI_URL: 'http://jami:3003/'
CRYPT_KEY: 'e16730fce263d5270ba8dcf84d068a32556542455e71331880d6c1c5e4db9b4e'
build:
context: services/backend
context: services
dockerfile: backend/Dockerfile
frontend:
<<: *defaults
+1 -1
View File
@@ -19,7 +19,7 @@ ENV SENTRY_ENVIRONMENT=$SENTRY_ENVIRONMENT
ARG SENTRY_RELEASE
ENV SENTRY_RELEASE=$SENTRY_RELEASE
COPY ./package*.json ./
COPY ./backend/package*.json ./
RUN npm ci --include=dev