WORKDIR instead of CD
This commit is contained in:
parent
e8680e3cdc
commit
b40417bdca
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@ COPY README.md .
|
|||
|
||||
WORKDIR /opt
|
||||
COPY src .
|
||||
RUN cd src/lavalink/ && \
|
||||
curl -Lso README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/raw/main/README.md && \
|
||||
|
||||
WORKDIR /opt/src/lavalink
|
||||
RUN curl -Lso README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/raw/main/README.md && \
|
||||
apt purge curl -y
|
||||
WORKDIR /opt
|
||||
|
||||
CMD ["python", "-u", "./main.py"]
|
||||
|
|
Reference in a new issue