Skip to content

Commit 9f27110

Browse files
committed
fix directories maybe idk. garbage tool.
1 parent 878b767 commit 9f27110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.windows

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ RUN powershell -Command " \
2323

2424
# Add project source
2525
WORKDIR /musicbot
26+
RUN mkdir logs
27+
RUN mkdir media
2628
COPY . ./
2729
COPY ./config sample_config
2830

2931
# Install pip dependencies
3032
RUN pip3 install --no-cache-dir -r requirements.txt
3133

3234
# Create volumes for audio cache, config, data and logs
33-
VOLUME ["C:\musicbot\audio_cache", "C:\musicbot\config", "C:\musicbot\data", "C:\musicbot\logs", "C:\musicbot\media"]
35+
VOLUME ["/musicbot/audio_cache", "/musicbot/config", "/musicbot/data", "/musicbot/logs", "/musicbot/media"]
3436

3537
ENV APP_ENV=docker
3638

0 commit comments

Comments
 (0)