MuseV / Dockerfile
jmanhype
test: replace Dockerfile with test version to debug build process
dbeac5f
raw
history blame
684 Bytes
FROM ubuntu:22.04
# This is a test Dockerfile to see if it's actually being used
RUN echo "TESTING IF THIS DOCKERFILE IS ACTUALLY USED" > /test_file.txt && \
echo "If you see this message, the correct Dockerfile is being used!" && \
cat /test_file.txt
# Create a very obvious test directory
RUN mkdir -p /THIS_IS_A_TEST_DIRECTORY && \
echo "TEST CONTENT" > /THIS_IS_A_TEST_DIRECTORY/test.txt
# Print test message during build
RUN echo "=================================================" && \
echo "THIS IS A TEST BUILD - IF YOU SEE THIS, THE DOCKERFILE IS BEING USED" && \
echo "================================================="
CMD ["cat", "/test_file.txt"]