mirror of
https://gitlab.com/little-lines/backend.git
synced 2024-11-25 04:06:50 +00:00
Attempt to fix env path again
This commit is contained in:
parent
8a876da435
commit
0fb3ea8b33
2 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,7 @@ container-build:
|
||||||
container-deploy:
|
container-deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- podman run --name ll-backend -p 5001:5001 -d ll-backend
|
- podman run --name ll-backend -p 5001:5001 -v /home/sasha/Data1/Apps/ll-backend/.env:/opt/ll-backend/.env -d ll-backend
|
||||||
- podman generate systemd ll-backend > ~/.config/systemd/user/ll-backend.service
|
- podman generate systemd ll-backend > ~/.config/systemd/user/ll-backend.service
|
||||||
- systemctl --user daemon-reload
|
- systemctl --user daemon-reload
|
||||||
- systemctl --user enable ll-backend
|
- systemctl --user enable ll-backend
|
||||||
|
|
|
@ -5,7 +5,6 @@ RUN apk add yarn nodejs
|
||||||
|
|
||||||
# Copy files to build environment
|
# Copy files to build environment
|
||||||
RUN mkdir /opt/ll-backend
|
RUN mkdir /opt/ll-backend
|
||||||
COPY /home/sasha/Data1/Apps/ll-backend/.env /opt/ll-backend
|
|
||||||
COPY . /opt/ll-backend
|
COPY . /opt/ll-backend
|
||||||
|
|
||||||
# Run Vite production build
|
# Run Vite production build
|
||||||
|
|
Loading…
Reference in a new issue