Attempt to fix env path again

This commit is contained in:
Late Night Defender 2023-09-24 18:59:02 +07:00
parent 8a876da435
commit 0fb3ea8b33
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,7 @@ container-build:
container-deploy:
stage: deploy
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
- systemctl --user daemon-reload
- systemctl --user enable ll-backend

View file

@ -5,7 +5,6 @@ RUN apk add yarn nodejs
# Copy files to build environment
RUN mkdir /opt/ll-backend
COPY /home/sasha/Data1/Apps/ll-backend/.env /opt/ll-backend
COPY . /opt/ll-backend
# Run Vite production build