1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-17 05:25:54 +02:00

chore: rename docker-compose.yml to compose.yaml

Ref: https://docs.docker.com/compose/compose-file/03-compose-file/
This commit is contained in:
Théo LUDWIG 2023-07-28 11:38:34 +02:00
parent 49599d25ed
commit f1509d0af1
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
4 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "theoludwig",
"dockerComposeFile": "./docker-compose.yml",
"dockerComposeFile": "./compose.yaml",
"service": "workspace",
"workspaceFolder": "/workspace",
"customizations": {

View File

@ -6,6 +6,7 @@ RUN npm clean-install
FROM node:20.5.0 AS builder
WORKDIR /usr/src/application
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
COPY --from=builder-dependencies /usr/src/application/jsonresume-theme-custom/node_modules ./jsonresume-theme-custom/node_modules
COPY ./ ./
RUN npm run build

View File

@ -5,8 +5,7 @@ services:
restart: 'unless-stopped'
build:
context: './'
ports:
- '${PORT-3000}:${PORT-3000}'
network_mode: 'host'
environment:
PORT: ${PORT-3000}
env_file: '.env'