mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
change build context
This commit is contained in:
parent
d9602365bd
commit
75b0cdb75e
@ -4,8 +4,8 @@ services:
|
||||
frontend:
|
||||
image: "ghcr.io/papermc/hangar_frontend"
|
||||
build:
|
||||
context: ../../frontend
|
||||
dockerfile: ../docker/deployment/hangar-frontend/Dockerfile
|
||||
context: ../..
|
||||
dockerfile: docker/deployment/hangar-frontend/Dockerfile
|
||||
depends_on:
|
||||
- 'backend'
|
||||
environment:
|
||||
|
@ -6,9 +6,8 @@ ENV TERM xterm-256color
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
||||
COPY package.json /hangar-frontend/package.json
|
||||
COPY ../docker/deployment/hangar-frontend/entrypoint.sh /hangar-frontend/entrypoint.sh
|
||||
COPY nuxt.config.ts /hangar-frontend/nuxt.config.ts
|
||||
COPY node_modules/ /hangar-frontend/node_modules/
|
||||
COPY .nuxt/ /hangar-frontend/.nuxt/
|
||||
|
||||
COPY /frontend/package.json /hangar-frontend/package.json
|
||||
COPY /docker/deployment/hangar-frontend/entrypoint.sh /hangar-frontend/entrypoint.sh
|
||||
COPY /frontend/nuxt.config.ts /hangar-frontend/nuxt.config.ts
|
||||
COPY /frontend/node_modules/ /hangar-frontend/node_modules/
|
||||
COPY /frontend/.nuxt/ /hangar-frontend/.nuxt/
|
||||
|
Loading…
Reference in New Issue
Block a user