mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 04:51:30 +01: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:
parent
49599d25ed
commit
f1509d0af1
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "theoludwig",
|
||||
"dockerComposeFile": "./docker-compose.yml",
|
||||
"dockerComposeFile": "./compose.yaml",
|
||||
"service": "workspace",
|
||||
"workspaceFolder": "/workspace",
|
||||
"customizations": {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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'
|
Loading…
Reference in New Issue
Block a user