mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-18 07:20:30 +00:00
Copy resources in dockerfiles
This commit is contained in:
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ WORKDIR /app
|
|||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
COPY ArchiSteamFarm.Tests ArchiSteamFarm.Tests
|
||||||
|
COPY resources resources
|
||||||
RUN dotnet --info && \
|
RUN dotnet --info && \
|
||||||
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
# TODO: Remove workaround for https://github.com/microsoft/msbuild/issues/3897 when it's no longer needed
|
||||||
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
if [ -f "ArchiSteamFarm/Localization/Strings.zh-CN.resx" ]; then ln -s "Strings.zh-CN.resx" "ArchiSteamFarm/Localization/Strings.zh-Hans.resx"; fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user