Skip to content

Commit

Permalink
Simplify Dockerfile. This fixes #94.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseidhof committed Feb 13, 2019
1 parent 80bab25 commit d952ce2
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Dockerfile
Expand Up @@ -16,18 +16,10 @@ RUN apt-get install --yes curl nodejs npm

RUN update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10

# TODO use other sass impl?
RUN npm install -g sass browserify

COPY package.json package-lock.json ./
RUN npm install

COPY assets_source ./assets_source
COPY assets ./assets
# RUN browserify assets_source/javascripts/application.js > assets/application.js
# COPY build-css.sh ./
# RUN ./build-css.sh

COPY Package.swift LinuxMain.swift ./
RUN swift package update

Expand All @@ -36,16 +28,6 @@ COPY Tests ./Tests

RUN swift test && swift build --configuration release

COPY data ./data

EXPOSE 8765

CMD [".build/release/swifttalk-server"]

# RUN apt-get install --yes automake libc6-dbg
# RUN git clone git://sourceware.org/git/valgrind.git && cd valgrind && ./autogen.sh && ./configure --prefix=/usr/local && make && make install
# COPY episode108.txt .
# RUN swift build --product highlight-html
# CMD ["cat episode108.txt | .build/debug/highlight-html"]
#
# # valgrind --leak-check=full .build/debug/highlight-html < episode108.txt

0 comments on commit d952ce2

Please sign in to comment.