Skip to content

I changed the docker file to get it to work #2

Description

@aslaughter67
# Set the base image to fedora
FROM fedora:21

# Update the repository sources list
RUN yum update -y

ADD "./webapps" "/var/lib/tomcat/webapps"
ADD "./conf" "/etc/tomcat"
ADD "./log" "/var/log/tomcat"
ADD "./submodules/reference-ccda-validator" "/etc/submodules/reference-ccda-validator"
ADD "./submodules/code-validator-api" "/etc/submodules/code-validator-api"
ADD "./files" "/etc/ccda/files"

# Andrew James Slaughter 09/29/2023
# Fix the magic file
# You should convert the file to be a Unix text file. On Linux, you can use

RUN sed -i -e 's/\r$//' /etc/ccda/files/scripts/do-magic.sh

# Do the magic
RUN /etc/ccda/files/scripts/do-magic.sh

CMD /usr/libexec/tomcat/server start

# Expose the default port
EXPOSE 8080
~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions