WORKDIR instead of CD

This commit is contained in:
Mylloon 2021-08-15 15:28:18 +02:00
parent e8680e3cdc
commit b40417bdca

View file

@ -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"]